home *** CD-ROM | disk | FTP | other *** search
- -- card: 8871 from stack: in.3r
- -- bmap block id: 0
- -- flags: 0000
- -- background id: 13187
- -- name: ShowScripts
-
-
- -- part contents for background part 4
- ----- text -----
- 4
-
- -- part contents for background part 2
- ----- text -----
- ShowScripts
-
- -- part contents for background part 3
- ----- text -----
- --
- --ΓÇóΓÇóΓÇóby Steve Drazga 12/87ΓÇóΓÇóΓÇó
- --
- --This will show the 'edit script' box of any button, field or card you click on while the
- --option key is --held down. If you hold the option and shift keys down, it will show the
- --script of the background.
- --This script should be in the stack script.
-
- on mouseup
- if (first word of the name of the target) is "card" ¬
- or (first word of the name of the target) is "bkgnd" then
- if the optionkey is not down then exit mouseup
- end if
-
- if the shiftkey is down then
- edit script of this background
- else
- edit script of target
- end if
- end mouseup
-
- --
- --For this to work on objects that have their own scripts, you should include the following
- --script at the beginning.
- --
- if the optionkey is down then pass mouseup
-
-
- -- part contents for background part 18
- ----- text -----
- Scripts